const tokenname = 'tokenname'

export const gettoken = () => {
  return JSON.parse(localStorage.getItem(tokenname))
}
export const settoken = obj => {
  localStorage.setItem(tokenname, JSON.stringify(obj))
}
export const removetoken = () => {
  localStorage.removeItem(tokenname)
}
